-- GENERATED SPELL FOR [Scarlet Diviner] --


function spell0_4291(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(9053,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4291', 3000, 1)
end

function Sorts_4291(pUnit, Event)
local choix_sorts_4291 = math.random(0, 0)
if choix_sorts_4291 == 0 then
pUnit:RegisterEvent('spell0_4291', 1, 1)
end
end

function mob4291_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4291', math.random(1500, 3000), 1)
end

function mob4291_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4291_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4291_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4291, 1, 'mob4291_Action')
RegisterUnitEvent(4291, 2, 'mob4291_Leave')
RegisterUnitEvent(4291, 3, 'mob4291_Kill')
RegisterUnitEvent(4291, 4, 'mob4291_Die')
